Skip to content

feat: link bookmark block type (Closes #189)#232

Merged
oobagi merged 1 commit into
mainfrom
feat/issue-189-bookmark-block
Apr 26, 2026
Merged

feat: link bookmark block type (Closes #189)#232
oobagi merged 1 commit into
mainfrom
feat/issue-189-bookmark-block

Conversation

@oobagi
Copy link
Copy Markdown
Owner

@oobagi oobagi commented Apr 26, 2026

Summary

  • Add Bookmark block type that renders [title](url) or a bare URL on its own line as a link card
  • Parse/serialize roundtrip with tests; new short code bm
  • Palette entry with bookmark glyph; themeable BookmarkStyle (border, title, URL colors); editor render support

Test plan

  • go build ./...
  • go vet ./...
  • go test ./internal/block/... ./internal/editor/...

🤖 Generated with Claude Code

Introduce a new Bookmark block that renders a link as a card with
title and URL. Lines matching `[title](url)` or a bare http(s) URL
on their own line are parsed into Bookmark blocks; serialization
roundtrips back to the same markdown form. Adds palette entry,
themeable styling (border, title, URL colors), and editor render
support.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@oobagi oobagi merged commit b965fd5 into main Apr 26, 2026
1 check passed
@oobagi oobagi deleted the feat/issue-189-bookmark-block branch April 26, 2026 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant